package com.college.heyuhua.service.impl;

import com.college.heyuhua.dao.EmailMapper;
import com.college.heyuhua.model.EmailInfo;
import com.college.heyuhua.service.IEmailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by 赵东坡 on 2019/2/6.
 * Time:10:26
 * 宇宙无敌赵牛逼，祈求永无bug
 */
@Service
public class EmailServiceImpl implements IEmailService{

    @Autowired
    private EmailMapper mapper;

    @Override
    public boolean insertEmail(EmailInfo emailInfo) {
        return mapper.insertEmail(emailInfo);
    }
}
